  <div class="page  has-sidebar-left height-full">
  <header class="blue accent-3 relative">
        <div class="container-fluid text-white">
            <div class="row p-t-b-10 ">
                <div class="col">
                    <h4>
                        <i class="icon-user"></i> 留言管理 
                    </h4>
                </div>
            </div>
            <div class="row">
                <ul class="nav responsive-tab nav-material nav-material-white">
              <li> <a class="nav-link active"  href="{:url('vip/index')}" ><i class="icon icon-drivers-license"></i>留言反馈</a> </li>
                  
              </ul>
            </div>
        </div>
    </header>
    
<style>
    .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
        background-color: #1E9FFF !important;
        border-color: #1E9FFF !important;
    }
</style>
<body data-type="index">

<div class="tpl-page-container">


<!-- Responsive Table -->
<div class="row">
    <div class="col-md-12">

        <div class="panel panel-default">
            <div class="panel-heading">
             


    <div class="breadcrumb-env">

        <ol class="breadcrumb bc-1">


            <li class="active">

                <strong>留言</strong>
            </li>
        </ol>

    </div>

</div>
<!-- Responsive Table -->
<div class="row">
    <div class="col-md-12">

        <div class="panel panel-default">
            <div class="panel-body">
  <div class="table-responsive" data-pattern="priority-columns" data-focus-btn-icon="fa-asterisk"
                     data-sticky-table-header="true" data-add-display-all-btn="true" data-add-focus-btn="true">
                    <table cellspacing="0" class="table table-small-font table-bordered table-striped">
                        <thead>
                        <tr>
						    <th style="width: 120px">留言</th>
                            <th>IP</th>
                            <th>时间</th>                      
                            <th style="width: 150px">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        {volist name="list" id="vo"}
                        <tr>
						     <th >
                                {$vo.txt}
                            </th>
                            <th >
                                {$vo.ip}
                            </th>
                            <th >
                                {$vo.date}
                            </th>
                           <th style=" text-align: center;">
                               <a href="{:url('liuy_del',['id'=>$vo['id']])}" title="删除" class="btn-single"><i class="el-trash-circled" style="font-size: 18px;color:#cc3f44"></i>删除</a>
                          </th>
                        </tr>
                        {/volist}
                        </tbody>
                    </table>
              </div>
                    {$list->render()}
          </div>
      </div>
  </div>
          </div>
      </div>
  </div>
  {$code=='1'?'<div class="col-md-6" id="alert" style="position:fixed;right:0px;bottom:0px;  width: 350px">
    <div class="alert alert-success">
        <button type="button" class="close" data-dismiss="alert">
            <span aria-hidden="true">×</span>
            <span class="sr-only">Close</span>
        </button>

        <strong>恭喜 !</strong> '.$msg.'.
    </div>
</div>

':''}
</div>